package com.huabo.audit.oracle.entity;

import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hbfk.entity.TblAttachment;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_NBSJ_PROPOSAL")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblNbsjProposalEntity {

	public final static Integer NO_DEL=0;//未删除
	public final static Integer YE_DEL=1;//已删除

	@TableId(value = "proid", type= IdType.AUTO)
    @ApiModelProperty(value="项目ID")
    private Integer proid;

    @TableField(value = "tblstaff")
    @ApiModelProperty(value="", hidden = true)
    @IgnoreSwaggerParameter
    private TblStaff tblStaff;
    
    @TableField(value = "status")
    @ApiModelProperty(value="")
    private Integer status;
    
    @TableField(value = "tblbbsjproject")
    @ApiModelProperty(value="", hidden = true)
    @IgnoreSwaggerParameter
    private TblNbsjProject tblNbsjProject;
    
    @TableField(value = "procode")
    @ApiModelProperty(value="")
    private String procode;
    
    @TableField(value = "proname")
    @ApiModelProperty(value="")
    private String proname;
    
    
    @TableField(value = "createtime")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @TableField(value = "updatetime")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
    
    @TableField(value = "content")
    @ApiModelProperty(value="")
    private String content;
    
    @TableField(value = "tblNbsjProposalatts")
    @ApiModelProperty(value="", hidden = true)
    @IgnoreSwaggerParameter
    private Set<TblAttachment> tblNbsjProposalatts;
    
    @TableField(value = "staffid")
    @ApiModelProperty(value="",hidden=true)
    private Integer staffid;
    
    @TableField(value = "projectId")
    @ApiModelProperty(value="",hidden=true)
    private Integer projectId;
}
